/*
 * global parameters 
 *
 * $Id: param.h 30 2009-05-10 16:51:46Z ybc2084 $
 */

#ifndef _PARAM_H_
#define _PARAM_H_

#ifdef	__cplusplus
extern "C" {
#endif

/* loopback interface's IP address */
const char * const LOOPBACKIP	= "127.0.0.1";

/* (listening) port base in controller */
enum {
    CCP_PORT_BASE  = 52427,
};

const int	DECCOMMPORT	= CCP_PORT_BASE + 0;
const int	DECDATAPORT = CCP_PORT_BASE + 1;
const int	PLYCOMMPORT = CCP_PORT_BASE + 2;
const int	PLYDATAPORT = CCP_PORT_BASE + 3;
const int	GUICOMMPORT = CCP_PORT_BASE + 4;
const int	GUIDATAPORT = CCP_PORT_BASE + 5;

#ifdef	__cplusplus
}
#endif

#endif	/* _PARAM_H_*/

